home *** CD-ROM | disk | FTP | other *** search
- /*) Repeat v1.0 by Josef Faulkner (panther@gate.net) IRC: Arexx
- \\\ Written for Grapevine 2.0 beta
- ///
- \\\ Usage:
- /// /repeat <number of times> <delay between cmds in seconds> <grapevine command>
- \\\
- (*/
- options results
- parse arg num del cmd
- if ~show('L','rexxsupport.library') then if ~addlib('rexxsupport.library',0,-30,0) then do
- 'echo You need rexxsupport.library version 30 or greater in libs:'
- exit 10
- end
- parse version . . . . . hz .
- do n=1 to num
- cmd
- hz=left(hz,2)
- call delay(del*hz)
- end
- exit
-